#ifndef __HEADER_AGORA_H__
#define __HEADER_AGORA_H__

enum Encodage
{
	NONE = 0,
	SPEEX = 1
};

enum ALFormat
{
	MONO8 = 1,
	MONO16 = 2,
	STEREO8 = 3,
	STEREO16 = 4
};

enum FrequenceEnum
{
	NARROWBAND = 8000,
	WIDEBAND = 16000,
	ULTRAWIDEBAND = 32000
};

struct InfoBase
{
	int  id;
	char type;
	short sizeTotalWithoutInfoBase;
	short sizeData;
};

enum TYPE
{
	AUDIO,
	ADMIN,
	TEXT
};

struct InfoAudioBase
{
	unsigned short	frequence;
	char			format;
	char			encodage;
	bool			spacial;
};

struct InfoAudioSpacial
{
	int x;
	int y;
	int z;
	int vx;
	int vy;
	int vz;
};

struct InfoEncodage
{
	char quality;
	short nbFramePerPacket;
};

struct InfoAdmin
{
	int TODO;
};

struct Header
{
	InfoBase			*base;
	InfoAudioBase		*audio;
	InfoAudioSpacial	*spacial;
	InfoAdmin			*admin;
};


#endif
